<?xml version="1.0" encoding="UTF-8"?>
<!--
To change this template, choose Tools | Templates
and open the template in the editor.
-->
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:p="http://primefaces.org/ui">
    <!--      xmlns:p="http://primefaces.prime.com.tr/ui">-->
    <h:head>
        <title>TODO supply a title</title>
    </h:head>

    <h:body>
        <h:form>
            <p:growl id="messages" autoUpdate="true"/>  
            <p:menubar  style="width:140px">  
                <p:menuitem value="Main" action="/index.xhtml?faces-redirect=true" icon="ui-icon-home"/>          
                <p:menuitem value="User info" action="/pages/user/userinfo.xhtml?faces-redirect=true"/> 
                <p:menuitem value="Bank account" action="#{bankAccManagedBean.doShowList()}"/> 
                <p:menuitem value="System account" action="#{systemAccManagedBean.doShowList()}"/> 
                
                    <p:submenu label="Queries">   
                        <p:menuitem value="Active queries" action="#{queriesManagedBean.doShowActiveQueries()}"/>
                        <p:menuitem value="My queries" action="#{queriesManagedBean.doShowMyActiveQueries()}"/>
                        <p:menuitem value="My history" action="#{queriesManagedBean.doShowMyNotActiveQueries()}"/>
                        <p:menuitem value="Search query" action="#{queriesManagedBean.doSearchSelected()}"/>
                    </p:submenu>  
                
                <p:menuitem value="Contacts" action="/pages/contacts.xhtml?faces-redirect=true"/> 
                <p:menuitem value="About" action="/pages/about.xhtml?faces-redirect=true"/>              
            </p:menubar >
        </h:form>
    </h:body>
</html>
